.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 24px 40px 24px;

  &::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--vscode-sideBar-background);
    opacity: 0.4;
  }
}

.title {
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  padding: 14px 12px 0 12px;
}

.scrollable {
  margin-top: 4px;

  &__inner {
    padding: 4px 12px 8px 12px;
  }
}

.content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--vscode-widget-border);

  > button {
    flex: 1;
  }
}

.container {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  border-radius: 12px;
  width: 100%;
  max-width: 320px;
  color: var(--vscode-quickInput-foreground);
  background-color: var(--vscode-quickInput-background);
  border: 1px solid var(--vscode-widget-border);
  box-shadow: 0 0 8px 2px var(--vscode-widget-shadow);

  &--full-width {
    max-width: none;
  }
}
